Tontito's Web server Help


Web Server Features         
How to start           News          Limits          Common problems        Bug Report 
        Safe to use (NeWT Security Scanner report)

Web Server Features

This server allows you to have a web page in your pc. Has a lot of options for you to put it running just the way you want.  

Attention: This server doesn’t run script languages like Php or Cgi, at least for now but it supports Mhtml v2.
                  Also java script is supported since it runs in the browser.

This way you can have only a web page online or something more..."warez" here you can share some of your files.

To do that, this server supports multi shared folders, that means that you can have a shared folder on your c:\downloads and another in d:\files\mp3, this is just an example.

You can add as many folders as you want, you just need to go to Menu bar -> Web Server -> Configs.

In the dialog that is opened you just have to select the "Add new folder" button and in the 2º dialog you select the folder you want to share.

 After this you just have to give it a virtual name, any name is valid with no blank spaces between. In the example below the virtual folder name is "utils" and the real folder path name is "D:\ric\Document\Scripting\".

If you have more than one folder the web server enters in multi mode and to help in the browsing process it creates an initial page, that is dynamic, that list all shared folders.

You can now try your web server by running you browser with this Url http://127.0.0.1/  , this is you local host Ip and can run even if you aren't connected to internet.

Ok, at this moment you have already the shared folders you need. Now you may not want that people see the files that are inside of these folders and just want them to see html files, so you can go again to the config dialog and uncheck the "Allow file listing in this folder" option, don't forget that with this turned off people can only see html when they type http://your_ip/shared_folder1/ unless they know the folder content and type the specific Url to a file.

This option is turned on in the load process to guarantee that you see something when you share a folder that doesn't have a "index.html" or "index.htm" inside and you want to see something in your browser (Many people say that it doesn't work just because they forgot the basic html).

At this moment you have the basic stuff now we can start to be bad and don't allow download in some specific folders. To do this lets go again to the config dialog and select the shared folder in the combo list and then uncheck the "Allow download in this folder”. From now on this folder is totally invisible so you ask me: "what is the use of this?"  Well, if you have the Allow files listing in folders people can see what you have in your pc but they can't download them :) .

You can also remove the shared folders, you just need to select the folder you want to remove in the config dialog and press the "Remove this folder" button.

What can we do more to config the server?

We can setup the max upload speed so you ask again: "what is the use of this?"

Simple, if you like to play internet games and you need some upload speed for your game you can use this to guaranty that you have it.

 For this you must write in the text field and press the ok button.

To disable this option you just need to clear this field and press ok button

 

Since version 2.49.8

Since version 2.52

Since version 2.61.1

To config this option go to config dialog in shared folders section, choose the folder you want to protect and set the login and pass you desire, then select the option to have password access in that folder. I know it isn’t the best interface but have some speed limitations in the all script and working like this the script is much faster.

Since version 2.80

Since version 3.0

Since version 3.1

Since version 3.50

          If you access that link with your browser you can see the complete list of mp3 loaded and the mp3 that is running at the moment.

         NOTE: Don't mix normal mp3 with mp3pro format, Winamp doesn't like it much.

 

 Since version 4.0

 

Since version 4.2.3

 

The config dialog is this.

        General setup section

 

Styles setup section

 

Extra Options section

 

 

Set user's permissions

 

For this option to work fine, you must enable password protection in the folders himself (put a big and hard one). So in the folders you want to give this type of access check if they have login and password checked.

 

How to start

These are basic help topics if you never configured a Web Server

To start go to Menu bar -> Web server -> Commands -> start  


To share another folder go to Menu bar -> Web Server -> Config. In the dialog select "Add new folder" and then select a folder. 

Everything you have inside of it will be shared.


You can also deactivate an option to allow listings of files when you don't have a index file in an specific folder.
Go to Menu bar -> Web Server -> Config. In the dialog select checkbox "Allow file listing in this folder"  to deactivate it. 

 

Connections limit (in Extra options tab)

 Added since version 3.0

·          Max connection :           this option allows you to set the max connections that the web server can hold at same time

·         Max connections by ip :  this option allows you to set the max nº of downloads that can be made by ip at same time, for this nº are only counted the files that are bigger than 100kb, so any normal html or small pic don't count. This way people can be using they max limit of connections to download files and still having a look at your web page.

 

 

Common problems

These are basic help topics to solve some most common problems

First of all, if you are in a Network (LAN), your web server must be running in a pc that is directly connected to the internet, unless you have a very good proxy that redirects the requests to the pc that is running this server..

To test this addon use your Internet Explorer and go to the given link. If you have an index.htm/html in your folder shared as root it will be shown before anything else.

If you still can't see anything in your browser you can execute this next steps one by one until it start to work:

  1. Check if you Web Server is running, to do that go to Menu bar -> Web server -> Commands -> restart
  2. Check if you have a firewall that allows mirc to run as server. If you do, config the firewall to allow mirc to run as server or turn the firewall off.
  3. If you are on a school protected by a proxy firewall, is better you forget to run this server. I also did :(
  4. Type in status window "/socklist" , if you get "www Your_ip:You_port tcp listening" the server is running
  5. Insert the link http://127.0.0.1/ in your browser and request the page. This Url is your local host IP.
  6. If you are using Internet explorer (very buggy) close it, open it again and insert the link http://127.0.0.1/ in it. You can also click in the link before to test it. You may need to refresh the page to see something by pressing also control key.
  7. If you are using Netscape you just need to refresh the page normally or also pressing shift key.
  8. Do you connect to internet using a router? Well if that is the case, you will have to turn ON port forwarding of the requests made from outside to your computer.

            So if you can setup your router, in the this case by web with ie, you must turn this options on. In this case the port been forwarded is port 80 and the example explains all the procedure.

            In resume, all the requests made from outside to port 80 must be redirected to your computer, your LAN Ip (example 192.168.*.*) , to the port where you are listening for connections.

            This interface is different from other routers model but the concept is the same so look for something that contains similar settable fields.

  

Thanks to Mtec89 for this image       

 

At the end of this steps you should be able to see what you have inside of your shared folder.

If this doesn't work, contact me in messenger and i will fix your problem, i hope :) .

 

        Easy, read this

To solve this "problem" you just have to go to  Menu bar -> Web Server -> Config select the folder in the combo and in the config dialog uncheck "Allow file listing..."  to deactivate it. 

This option is activated in the loading process to prevent people from saying that the web server doesn't work because they don't have an index.htm or an index.html in the root shared folder.

            If this is happening maybe its because you deactivate this option. To fix this go again to  Menu bar -> Web Server -> Config in the config dialog select the folder that has the             problem in the combo box and them select "Allow download in this folder".

           Well, you may be getting this because your are using ie browser. Since this browser (and some others based on this) don't follow the exact Hex coding requests from some type of chars, i decided to remove it completely. So, from now on, only Mozilla 5 based browsers will be able to see all pages with special chars (á, Â, ...).

 

None of this solutions worked with me. What can i do?

          Well you can report this to me by sending the url link that gave you the problem and the name of the virtual folder where the file is

and also with you server log zipped. Don't forget to put decent subject, i delete all mails that don't say addon or mirc. Then send your mail or talk with me in messenger using

 Tontitoscript@gmail.com